@if(count($replies) >0)
    <ul class="list-group">
        @foreach($replies as $reply)
            <li class="list-group-item d-flex flex-column">
                <a href="{{route('topic.show',$reply->topic_id)}}" class="text-decoration-none">
                    <i class="fa fa-solid fa-location-dot"></i>
                    {{$reply->topic->title}}
                </a>
                <span class="text-success">
                    <i class="fa fa-regular fa-file-lines"></i>
                    {{$reply->content}}
                </span>
                <small>
                    <i class="fa fa-regular fa-clock"></i>
                    {{$reply->created_at->diffForHumans()}}
                </small>
            </li>
        @endforeach
    </ul>
    <div>
        {!! $replies->appends(Request::except('page'))->render() !!}
    </div>
@else
    <div class="text-center text-danger">暂无数据!</div>
@endif

